#!/usr/bin/env bash

curl -o node-v14.17.0-linux-x64.tar.xz https://nodejs.org/dist/v14.17.0/node-v14.17.0-linux-x64.tar.xz
xz -d node-v14.17.0-linux-x64.tar.xz
tar -xvf node-v14.17.0-linux-x64.tar
mv ./node-v14.17.0-linux-x64 /usr/lib/
echo 'export PATH="$PATH:/usr/lib/node-v14.17.0-linux-x64/bin"' >> ~/.bash_profile
source ~/.bash_profile
